import 'package:fish_redux/fish_redux.dart';
import 'package:image_picker/image_picker.dart';
import 'package:school_safe_teacher/me/entity/userEntity.dart';

class UserInfoState implements Cloneable<UserInfoState> {
 // userEntity userInfoEntity;
  UserEntity userInfoEntity;
  String sex;
  String sexType;

  final picker = ImagePicker();

  @override
  UserInfoState clone() {
    return UserInfoState()
      ..userInfoEntity = userInfoEntity
      ..sex = sex
      ..sexType = sexType;
  }
}

UserInfoState initState(Map<String, dynamic> args) {
  return UserInfoState()
    ..userInfoEntity = UserEntity();
}
